<script type="text/javascript">
    function openPrintWindow(){
        var url = '/PhotoShop/print/printRecipt/' + '${id}';
        window.open(url);
        window.location = '/PhotoShop/job/show/' + '${id}';
    }

</script>
<input type="button" value="Print" onclick="openPrintWindow();"/>